package com.kcwl.carrier.domain.service;

import com.kcwl.carrier.domain.repository.IVehicleFastBindingInfoRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @描述 车辆信息
 * @创建人 zhl
 * @创建时间 2022/11/1
 * @修改人和其它信息
 */
@Service
public class VehicleFastBindingInfoDomainService {
    @Autowired
    private IVehicleFastBindingInfoRepository fastBindingInfoRepository;

    public List<Long> selectFastBindingVehicleIdByIds(List<Long> vehicleIdList) {
        return fastBindingInfoRepository.selectFastBindingVehicleIdByIds(vehicleIdList);
    }

    public void cancelHilight(Long vehicleId) {
        fastBindingInfoRepository.cancelHilight(vehicleId);
    }
}
